﻿
@{
    string data = ViewBag.SampleData;
}
<h3>
    This is encoded
</h3>
<div>@data</div>

<br />
<h3>
    This is not encoded
</h3>
<div>
    @Html.Raw(@data)
</div>
